package com.open.capacity.reimburse.service;

import com.open.capacity.reimburse.entity.ImpKjpz;

import com.open.capacity.commons.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;
import java.util.List;

/**
 * 数据导入-会计凭证
 *
 * @author
 * @email
 * @date 2021-11-16 09:52:14
 */
public interface ImpKjpzService {
    /**
     * 添加
     *
     * @param impKjpz
     */
    int save(ImpKjpz impKjpz);

    /**
     * 修改
     *
     * @param impKjpz
     */
    int update(ImpKjpz impKjpz);

    /**
     * 删除
     *
     * @param id
     */
    int delete(String id);


    /**
     * 分页
     *
     * @param params
     * @return
     */
    PageResult<ImpKjpz> pageAll(Map<String, Object> params);

    /**
     * 列表
     *
     * @param params
     * @return
     */
    List<ImpKjpz> findAll(Map<String, Object> params);

    /**
     * 从excel导入数据
     *
     * @param multipartFile
     * @return
     */
    long importExcel(MultipartFile multipartFile) throws Exception;
}

